package com.ace.bean;

import com.ace.bean.imp.Knight;
import com.ace.bean.imp.Quest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;

/**
 * Created by com.ace on 2018/3/8.
 */
@ContextConfiguration(classes= com.ace.config.sample.KnightConfig.class)
public class BraveKnight implements Knight{

    @Autowired
    private Quest quest;

    public void embarkOnQuest(){
        quest.embark();
    }
}
